CaptionFormat.fromJson constructor

CaptionFormat.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CaptionFormat.fromJson(Map<String, dynamic> json) {
  return CaptionFormat(
    encryption: json['Encryption'] != null
        ? Encryption.fromJson(json['Encryption'] as Map<String, dynamic>)
        : null,
    format: json['Format'] as String?,
    pattern: json['Pattern'] as String?,
  );
}