fromJson static method

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

Implementation

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

  return InputFileRemote(id: (json['id'] as String?) ?? '');
}