fromJson method

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

Implementation

@override
Map<String, dynamic> fromJson(Object? json) => json is Map<String, dynamic> ? json : {};