StatusLayoutUpdate.fromJson constructor

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

Implementation

factory StatusLayoutUpdate.fromJson(Map<String, Object?> json) {
  return StatusLayoutUpdate(
    layout: json[r'layout'] != null
        ? WorkflowLayout.fromJson(json[r'layout']! as Map<String, Object?>)
        : null,
    properties: json[r'properties'] as Map<String, Object?>? ?? {},
    statusReference: json[r'statusReference'] as String? ?? '',
  );
}