CreateVideoRequest.fromJson constructor

CreateVideoRequest.fromJson(
  1. Map json_
)

Implementation

CreateVideoRequest.fromJson(core.Map json_)
    : this(
        elementProperties: json_.containsKey('elementProperties')
            ? PageElementProperties.fromJson(json_['elementProperties']
                as core.Map<core.String, core.dynamic>)
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        objectId: json_.containsKey('objectId')
            ? json_['objectId'] as core.String
            : null,
        source: json_.containsKey('source')
            ? json_['source'] as core.String
            : null,
      );