FileNote.fromJson constructor

FileNote.fromJson(
  1. Map _json
)

Implementation

FileNote.fromJson(core.Map _json)
    : this(
        checksum: _json.containsKey('checksum')
            ? (_json['checksum'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        fileType: _json.containsKey('fileType')
            ? _json['fileType'] as core.String
            : null,
        title:
            _json.containsKey('title') ? _json['title'] as core.String : null,
      );