$Asset.fromJson constructor

$Asset.fromJson(
  1. Map json_
)

Implementation

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