toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
      if (urls?.isNotEmpty ?? false) 'urls': urls,
      if (username?.isNotEmpty ?? false) 'username': username,
      if (credential?.isNotEmpty ?? false) 'credential': credential,
    };