ContentRestrictionExpandable.fromJson constructor

ContentRestrictionExpandable.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory ContentRestrictionExpandable.fromJson(Map<String, Object?> json) {
  return ContentRestrictionExpandable(
    restrictions: json[r'restrictions'] as String?,
    content: json[r'content'] as String?,
  );
}