ContentStateResponse.fromJson constructor

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

Implementation

factory ContentStateResponse.fromJson(Map<String, Object?> json) {
  return ContentStateResponse(
    contentState: json[r'contentState'] != null
        ? ContentState.fromJson(
            json[r'contentState']! as Map<String, Object?>)
        : null,
    lastUpdated: json[r'lastUpdated'] as String?,
  );
}