VideoPlayer.fromJson constructor

VideoPlayer.fromJson(
  1. Map json_
)

Implementation

VideoPlayer.fromJson(core.Map json_)
    : this(
        embedHeight: json_.containsKey('embedHeight')
            ? json_['embedHeight'] as core.String
            : null,
        embedHtml: json_.containsKey('embedHtml')
            ? json_['embedHtml'] as core.String
            : null,
        embedWidth: json_.containsKey('embedWidth')
            ? json_['embedWidth'] as core.String
            : null,
      );