Application.fromJson constructor

Application.fromJson(
  1. Object? json
)

Implementation

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