MediaProperties.fromJson constructor

MediaProperties.fromJson(
  1. Map json_
)

Implementation

MediaProperties.fromJson(core.Map json_)
    : this(
        alignment: json_.containsKey('alignment')
            ? json_['alignment'] as core.String
            : null,
        width: json_.containsKey('width') ? json_['width'] as core.int : null,
      );