FRPSource.fromJson constructor

FRPSource.fromJson(
  1. Map<String, dynamic> json
)

Implementation

FRPSource.fromJson(Map<String, dynamic> json) {
  if (json['media_sources'] != null) {
    _mediaSources = <MediaSources>[];
    json['media_sources'].forEach((v) {
      _mediaSources!.add(MediaSources.fromJson(v));
    });
  }
}