fromJson static method

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

Implementation

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