ContentStateInput.fromJson constructor

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

Implementation

factory ContentStateInput.fromJson(Map<String, Object?> json) {
  return ContentStateInput(
    name: json[r'name'] as String?,
    color: json[r'color'] as String?,
    id: (json[r'id'] as num?)?.toInt(),
    spaceKey: json[r'spaceKey'] as String?,
  );
}