ReviewSource.fromJson constructor

ReviewSource.fromJson(
  1. Map json_
)

Implementation

ReviewSource.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        extraDescription: json_.containsKey('extraDescription')
            ? json_['extraDescription'] as core.String
            : null,
        url: json_.containsKey('url') ? json_['url'] as core.String : null,
      );