Converts the avatar style to a map for the MethodChannel.
Map<String, dynamic> toMap() { return { 'avatarSize': size, 'avatarBorderRadius': borderRadius, }; }