UpdateUiModificationDetails.fromJson constructor

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

Implementation

factory UpdateUiModificationDetails.fromJson(Map<String, Object?> json) {
  return UpdateUiModificationDetails(
    contexts: (json[r'contexts'] as List<Object?>?)
            ?.map((i) => UiModificationContextDetails.fromJson(
                i as Map<String, Object?>? ?? const {}))
            .toList() ??
        [],
    data: json[r'data'] as String?,
    description: json[r'description'] as String?,
    name: json[r'name'] as String?,
  );
}