FileContentBuffer.fromJson constructor

FileContentBuffer.fromJson(
  1. Map json_
)

Implementation

FileContentBuffer.fromJson(core.Map json_)
    : this(
        content: json_.containsKey('content')
            ? json_['content'] as core.String
            : null,
        fileType: json_.containsKey('fileType')
            ? json_['fileType'] as core.String
            : null,
      );