SparkParameters.fromJson constructor

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

Implementation

factory SparkParameters.fromJson(Map<String, dynamic> json) {
  return SparkParameters(
    host: json['Host'] as String,
    port: json['Port'] as int,
  );
}