<itemvalue="It takes a `data` object, and if it's a `Map`, it calls `getDocumentWithRef` on it, if it's a `List`, it calls `getDocumentValue` on each element of the list, if it's a `DocumentSnapshot`, it calls `getDocumentValue` on the `data` field of the `DocumentSnapshot`, if it's a `QueryDocumentSnapshot`, it calls `getDocumentValue` on the `data` field of the `QueryDocumentSnapshot`, if it's a `DocumentReference`, it calls `getDocumentValue` on the `data` field of the `DocumentReference`, and if it's anything else, it returns the `data` object Args: data (Object): The data to be converted. depth (int): The depth of the document to retrieve. Defaults to 1 Returns: A Future<Object?>"/>
<itemvalue="It calls the native method `callMessage` and passes the parameters to the native method. Args: msgId (String): Message ID chatId (String): chat room id text (String): The content of the message, which is required. richtext (String): The content of the rich text message, which is the same as the text content of the text message. topicId (String): The topicId is the id of the topic, which is the id of the chat room. type (MessageType): MessageType.Text,. Defaults to MessageType image (String): The image path of the image message. selfUserId (String): The user ID of the current user friendUserId (String): The user ID of the other party Returns: A boolean value."/>
<itemvalue="italic"/>
@ -53,12 +54,11 @@
<itemvalue="A [Reflector] implementation that performs no actual reflection, instead returning empty objects on every invocation. Use this in contexts where you know you won't need any reflective capabilities."/>
<itemvalue="However, the following alternatives exist: Generation via `package:angel3_container_generator` Creating an instance of `StaticReflector` Manually implementing the `Reflector` interface (cumbersome; not recommended) As of January 4th, 2018, the documentation has not yet been updated to state this, so in the meantime, visit the Angel chat for further questions: https:gitter.imangel_dartdiscussion"/>
<itemvalue="The `MirrorsReflector` from `package:angel_containermirrors.dart` is by far the most convenient pattern, so use it if possible."/>
<itemvalue="The grey swatch is intentionally omitted because when picking a color randomly from this list to colorize an application, picking grey suddenly makes the app look disabled."/>