DeletedApplication.fromJson constructor

DeletedApplication.fromJson(
  1. Object? json
)

Implementation

factory DeletedApplication.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return DeletedApplication(
    id: (map['id'] as String),
    name: map['name'] == null ? null : (map['name'] as String),
  );
}