fromJson static method

InputCredentialsNew? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static InputCredentialsNew? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return InputCredentialsNew(
    data: (json['data'] as String?) ?? '',
    allowSave: (json['allow_save'] as bool?) ?? false,
  );
}