Content.fromJson constructor

Content.fromJson(
  1. Map json_
)

Implementation

Content.fromJson(core.Map json_)
  : this(
      files: (json_['files'] as core.List?)
          ?.map(
            (value) =>
                File.fromJson(value as core.Map<core.String, core.dynamic>),
          )
          .toList(),
      scriptId: json_['scriptId'] as core.String?,
    );