VideoRecordingDetails.fromJson constructor

VideoRecordingDetails.fromJson(
  1. Map json_
)

Implementation

VideoRecordingDetails.fromJson(core.Map json_)
    : this(
        location: json_.containsKey('location')
            ? GeoPoint.fromJson(
                json_['location'] as core.Map<core.String, core.dynamic>)
            : null,
        locationDescription: json_.containsKey('locationDescription')
            ? json_['locationDescription'] as core.String
            : null,
        recordingDate: json_.containsKey('recordingDate')
            ? core.DateTime.parse(json_['recordingDate'] as core.String)
            : null,
      );