$ContentTypeInfo.fromJson constructor

$ContentTypeInfo.fromJson(
  1. Map json_
)

Implementation

$ContentTypeInfo.fromJson(core.Map json_)
    : this(
        bestGuess: json_.containsKey('bestGuess')
            ? json_['bestGuess'] as core.String
            : null,
        fromBytes: json_.containsKey('fromBytes')
            ? json_['fromBytes'] as core.String
            : null,
        fromFileName: json_.containsKey('fromFileName')
            ? json_['fromFileName'] as core.String
            : null,
        fromHeader: json_.containsKey('fromHeader')
            ? json_['fromHeader'] as core.String
            : null,
        fromUrlPath: json_.containsKey('fromUrlPath')
            ? json_['fromUrlPath'] as core.String
            : null,
      );