CustomFieldContextDefaultValueForgeMultiUserField.fromJson constructor

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

Implementation

factory CustomFieldContextDefaultValueForgeMultiUserField.fromJson(
    Map<String, Object?> json) {
  return CustomFieldContextDefaultValueForgeMultiUserField(
    accountIds: (json[r'accountIds'] as List<Object?>?)
            ?.map((i) => i as String? ?? '')
            .toList() ??
        [],
    contextId: json[r'contextId'] as String? ?? '',
    type: json[r'type'] as String? ?? '',
  );
}