fromJson static method

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

Implementation

static ContentPartFileReference fromJson(Map<String, dynamic> json) =>
    ContentPartFileReference(
      mediaType: json['media_type'] as String,
      reference: json['reference'] as Map<String, dynamic>,
      filename: json['filename'] as String?,
      providerOptions: json['provider_options'] as Map<String, dynamic>?,
    );