GdataContentTypeInfo.fromJson constructor

GdataContentTypeInfo.fromJson(
  1. Map _json
)

Implementation

GdataContentTypeInfo.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,
      );