CustomFieldContextSingleUserPickerDefaults.fromJson constructor

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

Implementation

factory CustomFieldContextSingleUserPickerDefaults.fromJson(
    Map<String, Object?> json) {
  return CustomFieldContextSingleUserPickerDefaults(
    accountId: json[r'accountId'] as String? ?? '',
    contextId: json[r'contextId'] as String? ?? '',
    type: json[r'type'] as String? ?? '',
    userFilter: UserFilter.fromJson(
        json[r'userFilter'] as Map<String, Object?>? ?? const {}),
  );
}