ContentRestrictionsExpandable.fromJson constructor

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

Implementation

factory ContentRestrictionsExpandable.fromJson(Map<String, Object?> json) {
  return ContentRestrictionsExpandable(
    read: json[r'read'] as String?,
    update: json[r'update'] as String?,
  );
}