GoogleCastIosRequest.fromMap constructor
Creates a GoogleCastIosRequest from a map, typically decoded from JSON.
The map
must contain the keys 'inProgress', 'isExternal', and 'requestID'.
The 'error' key is optional.
Implementation
factory GoogleCastIosRequest.fromMap(Map<String, dynamic> map) {
return GoogleCastIosRequest(
inProgress: map['inProgress'] as bool,
isExternal: map['isExternal'] as bool,
requestID: map['requestID'] as int,
error: map['error'] as String?,
);
}