Map<String, dynamic> toJson() { var json = <String, dynamic>{}; json['providerType'] = getProviderType().toShortString(); return json; }