CustomFieldContextDefaultValueForgeUserField.fromJson constructor

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

Implementation

factory CustomFieldContextDefaultValueForgeUserField.fromJson(
    Map<String, Object?> json) {
  return CustomFieldContextDefaultValueForgeUserField(
    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 {}),
  );
}